﻿@{
    Layout = "~/Views/Shared/MetroTileBase.cshtml";
}

<div class="ActivityTileMainWrapper" data-bind="click: function(data){window.open(data.Url);}" style="cursor: pointer;">

    <h1 data-bind="text: Title">Test</h1>
    <h2 data-bind="text: Description">Test</h2>

    <div style="position: absolute; left: 0; top: 0; opacity: 0.15; width: 100%; height: 100%; z-index: -1; background-repeat: no-repeat;" data-bind="style: { backgroundImage: $root.fetchCssUrlForItem($data) }"></div>

</div>